package com.jimmy.springcloud.dao;

import com.jimmy.springcloud.entities.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @version 1.0
 * @ ClassName DeptDao
 * <p> TODO
 * @ author JIMMY
 * @ Date 2020/11/15 0015 下午 7:35
 */
@Mapper
public interface DeptDao {
    public boolean addDept(Dept dept);

    public Dept findById(Long id);

    public List<Dept> findAll();
}
